//
//  tmpView.m
//  MyFrameWork
//
//  Created by eason on 16/4/21.
//  Copyright © 2016年 普惠. All rights reserved.
//

#import "tmpView.h"
#import "ViewController.h"
#import "tmpView2.h"

@implementation tmpView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        tmpView2 * tmpview = [[tmpView2 alloc] initWithFrame:CGRectMake(0, 0, gScreenWidth, gScreenHeight)];
        [self addSubview:tmpview];
        
    }
    return self;
}


@end
